<?php
include_once("init.php");

if (!(($session->access) && ($session->type==2)))
{
	header("Location: ".$home_url);
}


if (empty($_REQUEST["page"]))
{
	$page="index";
}

else
{
	$page=$_REQUEST["page"];
}

if (file_exists($xhtml_dir."/tests/_".$page.".inc.php"))
{
	include($xhtml_dir."/tests/_".$page.".inc.php");
}
else
{
	$xhtml=new xhtml;
	$xhtml->error(5);
	
}
?>